Using a graph database to match entities by evaluating boolean expressions

ABSTRACT

A method of matching a first entity to a second entity by evaluating Boolean expressions includes identifying a set of criteria vertices for a second entity vertex by traversing a graph database in a manner constrained to fact vertices identified for the second entity. The graph database relates fact vertices to the criteria vertices by edges corresponding to Boolean expressions for satisfying criteria for matching first entities to second entities. The method additionally includes selecting one of the first entities based on the criteria vertices of the set. The method further includes matching the first entity to the second entity based on the selection.

TECHNICAL FIELD

This disclosure is generally directed to matching entities. This disclosure is specifically directed to using a graph database to match entities by evaluating Boolean expressions.

BACKGROUND

Market research is an organized effort to gather information about markets or customers. Market research can include social and opinion research performed to systematically gather and interpret information about individuals or organizations using statistical and analytical methods and techniques of the applied social sciences to gain insight or support decision making. Viewed as an important component of business strategy, market research can be a key factor to obtain advantage over competitors. Market research provides important information to identify and analyze market need, market size, and competition.

Quantitative marketing research is the application of quantitative research techniques to the field of marketing. It has roots in both the positivist view of the world, and the modern marketing viewpoint that marketing is an interactive process in which both the buyer and seller reach a satisfying agreement on the “four Ps” of marketing: Product, Price, Place (location), and Promotion. As a social research method, it typically involves the construction of questionnaires and scales. People who respond (respondents) are asked to complete the survey. Marketers use the information so obtained to understand the needs of individuals in the marketplace, and to create strategies and marketing plans.

In market research, projects are defined for supplying a market research sample to a customer having a survey that needs to be completed by panelists having certain targeted attributes. Generally speaking, a project has a deadline for survey completion, and a set of criteria to fulfill in terms of the targeted attributes. An example target attribute for a survey might be “includes owners of vehicle model X,” thus defining a requirement that 100% of panelists have this attribute. Another example target attribute for a survey might be “excludes drivers over age 40,” thus defining a requirement that 0% of panelists have the attribute of being a driver over age 40.

On the other hand, other criteria for a project may involve quotas for certain demographics, such as 45%-55% male and 45%-55% female. These demographic quotas help prevent skew in the results, and are grouped together. For example, the aforementioned set of demographics defines a quota group for the project, with the % male and % female panelists each being a quota cell in that quota group. Another quota group might be defined as 45%-55% eastern US residents and 45%-55% western US residents. These quota groups may be independent of one another, in which case the customer does not mind if 100% of the male respondents are from the Eastern US, etc. Alternatively, the quota cells of a group may be “nested” (AKA “interlocked”), in which case two groups each having two quota cells may be replaced by a single quota group having four nested quota cells as follows: 22.5%-27.5% male, eastern US residents; 22.5%-27.5% female, eastern US residents; 22.5%-27.5% male, western US residents; 22.5%-27.5% female, western US residents. A project may have multiple quota groups, some of which may have quota cells nested therein.

The task of supplying the sample for a project has previously been addressed by using a relational database to find panelists having attribute values that match the values of the targeted attributes of a project. In this sense, panelists may be potential respondents who have enrolled as panelists and therefore have one or more of their attribute values recorded in the relational database. It is envisioned that panelists may be members of one or more proprietary market research access panels, or may have been sourced elsewhere, such as dynamically sourced through a network of website properties or from a third party access panel. It is also envisioned that panelists may be newly enrolling or not yet enrolled panelists. For a particular project, the panelists having the attribute values are then sent emails that provide a link to a survey associated with that project. A panelist may respond to such an email after that panelist is no longer needed for that project. In the past, such a panelist may then be matched to another project having a high acceptance rate, in the same or similar way that newly enrolled panelists are handled. However, it would be advantageous to match return panelists or newly enrolled panelists to projects having relatively low acceptance rates, thus making more effective use of the panelists. It would also be advantageous to make more efficient use of panelists who fail to qualify for a survey by rerouting such panelists to another survey. The present disclosure is directed toward providing such a solution.

BRIEF SUMMARY

In some aspects, a method of matching a first entity to a second entity by evaluating Boolean expressions includes identifying a set of criteria vertices for a second entity vertex by traversing a graph database in a manner constrained to fact vertices identified for the second entity. The graph database relates fact vertices to the criteria vertices by edges corresponding to Boolean expressions for satisfying criteria for matching first entities to second entities. The method additionally includes selecting one of the first entities based on the criteria vertices of the set. The method further includes matching the first entity to the second entity based on the selection.

In other aspects, an apparatus for matching a first entity to a second entity by evaluating Boolean expressions includes means for identifying a set of criteria vertices for a second entity vertex by traversing a graph database in a manner constrained to fact vertices identified for the second entity. The graph database relates fact vertices to the criteria vertices by edges corresponding to Boolean expressions for satisfying criteria for matching first entities to second entities. The apparatus additionally includes means for selecting one of the first entities based on the criteria vertices of the set. The apparatus further includes means for matching the first entity to the second entity based on the selection.

In additional aspects, a computer program product includes a non-transitory computer-readable medium. For example, the non-transitory computer-readable medium includes code for identifying a set of criteria vertices for a second entity vertex by traversing a graph database in a manner constrained to fact vertices identified for the second entities. The graph database relates fact vertices to the criteria vertices by edges corresponding to Boolean expressions for satisfying criteria for matching first entities to second entities. Additionally, the non-transitory computer-readable medium includes code for selecting one of the first entities based on the criteria vertices of the set. Also, the non-transitory computer-readable medium includes code for matching the first entity to the second entity based on the selection.

In further aspects, an apparatus for matching a first entity to a second entity by evaluating Boolean expressions includes a memory that stores a graph database relating fact vertices to criteria vertices by edges corresponding to Boolean expressions for satisfying criteria for matching first entities to second entities. The apparatus additionally includes a processor configured to identify a set of criteria vertices for a second entity vertex by traversing a graph database in a manner constrained to fact vertices identified for the second entity. The processor is also configured to select one of the first entities based on the criteria vertices of the set, and match the first entity to the second entity based on the selection.

The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims. The novel features which are believed to be characteristic of the invention, both as to its organization and method of operation, together with further objects and advantages will be better understood from the following description when considered in connection with the accompanying figures. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended as a definition of the limits of the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention, reference is now made to the following descriptions taken in conjunction with the accompanying FIGURES, in which:

FIG. 1 is a flow diagram illustrating a method of matching a panelist to a market research project in accordance with the present disclosure;

FIG. 2 is a block diagram illustrating an apparatus for matching a panelist to a market research project in accordance with the present disclosure;

FIG. 3 is a flow diagram illustrating a method of operation for a market research apparatus in accordance with the present disclosure;

FIG. 4 is a block diagram illustrating a project having quota cells in accordance with the present disclosure;

FIG. 5 is a block diagram illustrating an example of contents of a graph database in accordance with the present disclosure;

FIG. 6 is a block diagram illustrating an example of a graph database model in accordance with the present disclosure;

FIG. 7 is a block diagram illustrating another example of contents of a graph database in accordance with the present disclosure;

FIG. 8 is a block diagram illustrating another example of a graph database traversal model in accordance with the present disclosure; and

FIG. 9, including FIG. 9A and FIG. 9B, is a flow diagram illustrating a method of traversing a graph database in accordance with the present disclosure.

DETAILED DESCRIPTION

The inventive concept of the present disclosure utilizes a graph database to match entities having known facts to other entities, where the criteria for those matches may be various simple or complex Boolean expressions corresponding to each of those other entities. Advantageously, the graph database may determine facts identified for entities (e.g., consumers, panelists, etc.) and evaluate Boolean expressions for satisfying criteria for matching the such entities to other entities (e.g., goods, services, opportunities, etc.). Edges linking vertices for entities to vertices for facts identified for those entities permit rapid identification of those facts that have been identified for an entity. Includes type edges and excludes type edges linking fact vertices to vertices for the other entities permit evaluation of the criteria for matching the other entities. Advantageously, a query on an entity can identify only those facts that have been identified for an entity, and constrain evaluation of the criteria to only those criteria relating to those facts. Accordingly, evaluation of all of the criteria in the graph database that do not relate to any facts identified for the entity may be avoided. In this way, a more rapid query process may be carried out than could be accomplished with previous databases, such as relational databases, that would require evaluation of every set of criteria in the database. FIGS. 1, 2, and 3 represent systems in which the inventive concepts may be implemented.

In particular aspects described below with reference to FIGS. 1-9, an example implementation is set forth that addresses the task of matching a market research project to a panelist. For example, in these aspects, a first data item represents a first entity corresponding to a market research project, and a second data item is a second entity vertex corresponding to a panelist vertex that represents a panelist as a second entity. Additionally, in these aspects, fact vertices are data items corresponding to profile parameter value vertices representing profile parameter values identified for the panelist. Also, in these aspects, a criteria data item corresponds to a criteria vertex that represents a quota cell of a market research project, wherein a quota cell sets out criteria (e.g., percentage of panelists must exhibit a certain set of profile parameter values).

It is envisioned that other implementations may address other tasks. For example, it is envisioned that other implementations may match medical patients to medications, treatments, and/or medical study opportunities. Additionally, it is envisioned that other implementations may match consumers to advertisements. Also, more generally, other implementations may match entities having known attributes to goods, services, or opportunities. One skilled in the art will readily apprehend how to extend the teachings of the present disclosure to these other implementations without undue experimentation.

Referring to FIG. 1, the inventive concepts may be implemented to provide a solution to the problem of matching return panelists or newly enrolled panelists to market research projects having relatively low acceptance rates, and of rerouting panelists who fail to qualify for one survey to another survey. Under the proposed solution, one or more computer processors may, at step 100, identify a set of quota cells for a panelist by traversing a graph database in a manner constrained to profile parameter value vertices identified for the panelist. The one or more computer processors may additionally, at step 102, select a market research project based on the quota cells. The one or more computers may also, at step 104, match the panelist to the market research project based on the selection.

As described with reference to FIG. 2, the proposed solution for matching panelists to projects may be implemented by one or more components of an apparatus for matching a panelist 200 to a market research project. Such an apparatus may implement an enrollment engine 202 that enrolls the panelists 200 in an attributes database 204 by collecting attribute values of the panelist via a panelist interface 206. The attributes database 204 may include a relational database as will be readily understood by one skilled in the art. The relational database may be used for running queries that are not as time sensitive as a panelist rerouting operation. The attributes database 204 includes a graph database that relates panelists to profile parameter value vertices by edges, and that relates profile parameter value vertices to quota cell vertices by edges corresponding to Boolean expressions for satisfying quota cell criteria. This graph database may be employed for running queries in rerouting operations. Enrollment engine 202 may create and/or edit panelist vertices and/or the edges relating panelist vertices to profile parameter value vertices. Example graph database implementations are described in greater detail below with reference to FIGS. 4-9.

The apparatus may additionally implement a project management engine 208 that interacts with a customer 210 via a customer interface 212 to obtain information about a survey 212 implemented by the customer. As will be readily understood by one skilled in the art, project management engine 208 may collect information about a project for supplying a sample for the survey, including targeted attributes, demographic quotas, and a link to the electronic survey 214 hosted at the customer's website. One or more data objects representing the project may be instantiated and maintained by project management engine 208 in projects database 216. Project management engine 208 may additionally create and/or edit entries in attribute database 204 to record, for example, the profile parameter value vertices, the quota cell vertices, and the edges corresponding to Boolean expressions for satisfying quota cell criteria.

Project management engine 208 may also assign priorities to quota cells of projects based on one or more conditions, such as: a scarcity/value proxy based on pricing of quota cells that reflects scarcity of panelists fulfilling the quota cell criteria; percentage of progress, which may be defined in terms of number of registered starts or completes for a quota cell, versus the total number of starts or completes schedules to have been achieved according to a field schedule for filling that quota cell on or before the project completion deadline; and/or elapsed effective field time for completion of the project, with a factor being defined for use as a measure of priority based on percentage of completion. In this sense, effective field time may take into consideration the time of day, days of the week etc. with respect to panelist behavior, and when panelists are more likely to be available. Such priority assignment is described in greater detail in co-pending U.S. patent application Ser. No. 13/733,075 entitled Quota Cell Priority Determination to Match a Panelist to a Market Research Project and filed concurrently herewith by the assignee of the present application on Jan. 2, 2013. The disclosure of the aforementioned U.S. Patent Application is incorporated by reference herein in its entirety for any purpose. The disclosure of the aforementioned U.S. patent application is attached hereto as Appendix A. Appendix A forms part of the application. Any features of any embodiments described in Appendix A may be combined with each other or combined with any embodiments within the description and/or any other Appendices attached hereto.

The computer-implemented process of matching panelists to projects may principally be carried out by a panelist matching engine 218. The panelist matching engine 218 may interact with the panelist 200 via the panelist interface 206, and access the attribute database 204, to obtain a fit 220 that matches the panelist 200 to a quota cell that is part of a project associated with a survey 214. Accomplishing the fit 220 may result, for example, in the panelist 200 being redirected to a website of the customer 210 where the survey 214 is hosted.

Such matching of the panelist to a project is described in greater detail in co-pending U.S. patent application Ser. No. 13/733,082 entitled Priority Weighted Selection to Match a Panelist to a Market Research Project and filed concurrently herewith by the assignee of the present application on Jan. 2, 2013. The disclosure of the aforementioned U.S. Patent Application is incorporated by referenced herein in its entirety for any purpose. The disclosure of the aforementioned U.S. patent application is attached hereto as Appendix B. Appendix B forms part of the application. Any features of any embodiments described in Appendix B may be combined with each other and/or combined with any embodiments within the description and/or any other Appendices attached hereto.

Turning now to FIG. 3, a method of operation for the market research apparatus may begin at step 300 by enrolling panelists at step 300A, and defining projects at step 300B. A database associating panelists and quota cells with attribute (i.e., profile parameter) values may be generated and/or updated at step 302. At step 304, priorities may be assigned to quota cells at step 304A, and a set of quota cells may be identified for a panelist at step 304B. At step 306, one of the market research projects may be selected based on the priorities of the quota cells identified for the panelist. This selection may result in an initial fit 308. However, it is possible, in some implementations, that the match is not a complete match.

An incomplete match may occur, for example, if no value for a profile parameter required by quota cell criteria has yet been recorded. Alternatively or additionally, an incomplete match may occur if a sufficient amount of time has passed since a previous identification for the profile parameter value was made for the identification to no longer be considered current (i.e., even if the same or another value for that parameter was previously identified). Further, an event based mechanism may be employed that enables an incomplete match to occur due to a recorded event in a panelist's life that would indicate that certain profile parameter values may no longer be current or correct. If it is determined, at step 310, that the match is complete, then the initial fit 308 may be considered a final fit 312. Otherwise, at step 314, questions may be asked as required to complete the match. Any identifications obtained at step 314 may be employed to dynamically update the panelist's profile. If it is determined, at step 316, that the match is now complete, then the result may be the final fit 312. Otherwise, processing may return to a previous step depending on whether a predetermined amount of time (e.g., 15 seconds) has passed since the set of quota cells was identified at step 304B. This predetermined amount of time may reflect a rate at which the quota cell priorities are updated. If it is determined, at step 318, that the time has expired, then processing may return to step 300 for a new set of quota cells having updated priorities to be identified for the panelist. Otherwise, at step 320, all of the quota cells belonging to the selected market research project may be eliminated from the set of quota cells, and processing may return to step 306 for selection of another quota cell from the remaining quota cells of the set.

Turning now to FIGS. 4-9, example graph database implementations will be described in greater detail. FIGS. 4-6 provide an example implementation for evaluating simple Boolean expressions according to one model, while FIGS. 7-9 provide another model that may also be used to evaluate Boolean expressions. Referring particularly to FIG. 4, an example project 400 has a pair of quota groups 402 and 404. Quota group 402 may include, for example, four quota cells 406, 408, 410, and 412 nesting two different parameters. On the other hand, quota group 404 may have, for example, two quota cells 414 and 416 for two values of a single parameter.

Quota cells 406-412 may represent, for example, combinations of profile parameter values, such as gender and age. Quota cell 406, for example, may correspond to males under age forty, whereas quota cell 408 may correspond to males over age forty. Similarly, quota cell 410 may correspond to females under age forty, whereas quota cell 412 may correspond to females over age forty. Accordingly, each of these quota cells 406-412 may have a set of Boolean criteria 418, 420, 422, and 424 defining the includes and excludes for the quota cell in terms of the corresponding profile parameter values.

Quota cells 414 and 416 may represent profile parameter values, such as citizenship. For example, quota cell 414 may correspond to United States citizenship, whereas quota cell 416 may correspond to Canadian citizenship. Accordingly, each of these quota cells 414 and 416 may also have a set of Boolean criteria defining the includes and excludes for the quota cell in terms of the relevant profile parameter values. In this example, panelists who are known to be United States citizens may be included by criteria 426, while panelists who are known to be Canadian Citizens may be included by criteria 428. Additionally, exclusions defined in criteria 426 and 428 may exclude panelists who are known to be citizens of both the United States and Canada. As will be further explored below, defining the exclusions in criteria 426 and 428 may enable elimination of projects for panelists who are who are known to be citizens of both the United States and Canada, while permitting an incomplete match to be made for those panelists for whom the one or more of the relevant citizenship statuses has not yet been determined.

Turning to FIG. 5, an example of graph database contents is provided for corresponding to that of the project of FIG. 4. Unlike a relational database router, the innovative graph search router disclosed herein uses a graph database in which panelist vertices 500 and 502 are related to profile parameter value vertices 504, 506, 508, 510, 512, and 514 by edges indicating which values have been identified for those panelists. For example, profile parameter value vertices 504 and 506 may represent gender, whereas vertices 508 and 510 may represent age below or above forty, and vertices 512 and 514 may represent product ownership and non-ownership, respectively. Many other types of profile parameter values that can be included in the database contents will be readily apparent to those skilled in the art.

The graph database contents also relate the profile parameter values 504-514 to the quota cell vertices 406-416 by edges corresponding to the quota cell criteria, and having a type, such as “includes” or “excludes.” These edges capture both targeted attributes (i.e., “includes and “excludes” criteria) and quota cell criteria by defining simple and/or complex Boolean expressions for satisfying the criteria for a quota cell. For example, an “includes” type of edge encountering a set of profile parameter value vertices of the graph database, and extending to or from a quota cell, can define an “AND” expression for satisfying the “includes” criteria for that quota cell (e.g., “male” and “over age forty”). It should be readily understood that non-branching paths like those shown in FIG. 5 may represent Boolean “AND” expressions, whereas a branching path may additionally or alternatively be employed to represent Boolean “OR” expressions. Additionally, one or more edges of an “excludes” type defining one or more paths through profile parameter value vertices of the graph, to or from a quota cell vertex, may be employed to represent Boolean “ANDNOT” operations.

Turning now to FIG. 6, the graph database router can be implemented using classes and/or data objects to match a panelist to one or more quota cells by traversing edges of the graph data structure in a manner constrained to profile parameter value vertices 600 identified for a panelist, and thereby avoid considering many of the active quota cells during the routing process. For example, in order to match a panelist to a quota cell vertex 604, the router may first traverse edges from a panelist vertex 602 to all of the vertices 600 of the graph representing profile parameter values that have been identified for that panelist. The router may then determine whether any of those vertices 600 are included in paths defined by edges extending to or from quota cell vertices 604. The router may identify a set of quota cell vertices 604 each having at least one “includes” edge that encounters at least one of the identified parameter value vertices 600, and that do not have at least one “excludes” edge that encounters at least one of the identified parameter value vertices 600. From the identified quota cell vertices 604, the related quota groups 608, quota sets 610, and projects 612 can be determined. One skilled in the art will readily recognize many implementations of classes and/or data objects, and associated variables, that may be used to carry out the router as described above. A particular example of such classes and/or data objects, and associated variables, is provided in FIG. 6 as set forth below in TABLE 1.

TABLE 1 Property Data Type Description panelistId long The system ID of the panelist. resting boolean Indicates whether or not the panelist is resting (i.e. not available to take surveys right now). prr double Personal Response Rate. dateUpdated long When a particular profile value was last updated by the panelist/system, expressed as milliseconds since the epoch. profileParameterId int The ID of the parameter from Respondent Profile Management. name string The name of the parameter or parameter value from Respondent Profile Management. profileParameterValueTTL int The length of time in days that a particular value is still considered valid for a panelist. Used in conjunction with dateUpdated expirationDate long The date when the parameter and all its values should be removed from the system. Expressed as milliseconds since the epoch. profileParameterValueId long The parameter value ID of the value from Respondent Profit Management. quotaCellId long The ID of the quota cell from Quota Management. pathNumbers int[ ] An array of path numbers associated with the quota cell that the edge is part of. negated boolean Indicates that the vertex/vertex at the end of the edge should NOT be part of the panelist's profile. active boolean A flag to indicate that a quota cell is currently active. If false, this quota cell should not be returned as a valid match. priority int/double The priority of the quota cell as calculated by the priority calculator. quotaGroupId long The ID of the quota group from Quota Management. quotaSetId long The ID of the quota set from Quota Management projectId long The ID of the project.

As already mentioned above, the router may be able to make incomplete matches. For example, if an edge additionally encounters a vertex representing a value of a profile parameter not yet determined for the panelist, an “incomplete” match may be determined for that quota cell. Alternatively or additionally, an event-based mechanism may record an event that may indicate that certain values may have changed or may no longer be current. As indicated in the example described above, an “excludes” edge regarding other values for a parameter may prevent an incomplete match from being made where the other value has been identified for the panelist. In the alternative, a determination can be made whether any of the other profile parameter values for that profile parameter value have already been identified for the panelist, and the incomplete match may be conditioned on no other value having been recorded for the panelist. In either case, an incomplete match may be determined based on a profile parameter value being expired (i.e., a sufficient amount of time having passed for a previous identification for the profile parameter value identification to no longer be current), thus permitting an incomplete match even if the same or another value for that parameter was previously identified. Once the set of quota cells are identified for the panelists, an additional step may be carried out to determine whether all quota groups for a project are represented in the set. If not, then all quota cells associated with that project may be eliminated from the set, leaving in the set only quota cells associated with projects having all of their quota groups represented in the set.

Turning now to FIG. 7, another example of graph database contents provides for efficient handling of extremely complex Boolean expressions using a novel application of interval techniques discussed by M. Fontoura, S. Sadanandan, J. Shanmugasundaram, S. Vassilvitski, E. Vee, S. Venkatesan, and J. Zien. Efficiently evaluating complex Boolean expressions. In SIGMOD'10. In this case, panelist vertices 700 and 702 may be related to profile parameter value vertices 704, 706, 708, and 710 by “has value” edges. These “has value” edges are functionally the same as the “identified by” edges previously described with reference to FIG. 5. In this case, a quota cell vertex 712 may be related to the profile parameter value vertices 704-710 by edges that define intervals such as those set forth below:

-   -   Include BE: (A1 OR A2) AND (B1 OR B2)         -   Include Intervals:             -   A1: [1,2]             -   A2: [1,2]             -   B1: [3,4]             -   B2: [3,4]     -   Exclude BE: (A1 AND A2) OR (B1 AND B2)         -   Exclude Intervals:             -   A1: [1,1]             -   A2: [2,4]             -   B1: [1,3]             -   B2: [4,4]

Turning to FIG. 8, a router for traversing such graph database contents may have classes and/or data objects for traversing profile parameter value vertices 800 in profile parameter value sets 802 that are specific to particular quota cells IDs. The edges 804A-D may be provided using variables that define the beginnings and endings of intervals for the particular quota cell IDs. A method of operation for such a router is explored in detail below with respect to FIG. 9.

Turning now to FIG. 9 and referring generally to FIG. 9A and FIG. 9B, a method for handling complex Boolean expressions may respond, at step 900, to receipt of a panelist ID by looking up a corresponding panelist vertex in a graph database. At step 902, from the panelist vertex, all of the parameter value vertices linked thereto by “has value” edges may be found. At step 904, from the parameter value vertices, all of the includes and excludes value edges that arrive at the parameter value vertices from quota cell vertices may be found, and a set (e.g., list) of the quota cell vertices may be generated. At step 906, a first vertex of the set may be taken as a current quota cell vertex, and all “exclude” value edges may be visited from the current quota cell vertex. Visiting the “exclude” value edges at step 906 may include counting the total number of exclude value edges. At step 908, a determination may be made whether a value at an end of each “exclude” value edge matches a value from the list of profile parameter value vertices found for the panelist at step 902. If it is determined that there is match, then begin and end properties of the matching edges may be assembled into an excluded values list at step 910. Once the excluded values list is completed, it may be evaluated, at step 912, to determine whether the excluded values list completes the Boolean expression for the “excludes” criteria.

If the determination, at step 912, indicates that the “excludes” criteria are not satisfied, then a similar procedure may be carried out for the “includes” criteria. For example, at step 914, all of the “include” value edges may be visited form the quota cells, and the total number of “include” value edges may be counted. At step 916, a determination may be made whether a value at an end of each “include” value edge matches a value from the list of profile parameter value vertices found for the panelist at step 902. If it is determined that there is match, then begin and end properties of the matching edges may be assembled into an included values list at step 918. Once the included values list is completed, it may be evaluated, at step 920, to determine whether the included values list completes the Boolean expression for the “includes” criteria. If so, then the current quota cell may be added to a list of matching quota cells at step 922.

The evaluation of the current quota cell may be deemed completed in response to various conditions. For example, the evaluation may be deemed completed upon determination, at step 912, that the excluded values list completes the Boolean expression for the “excludes” criteria. Additionally, the evaluation may be deemed completed upon determination, at step 920, that the included values list does not complete the Boolean expression for the “includes” criteria. Also, the evaluation may be deemed completed upon addition, at step 922, of the current quota cell to the list of matching quota cells.

Once the evaluation of the current quota cell has been completed, then a determination may be made, at step 924, whether there are any unevaluated quota cells remaining in the set of quota cell vertices created in step 904. If so, then a next unevaluated quota cell of the set may be selected, at step 926, to be the current quota cell, and processing may return to a previous step, such as step 906. Otherwise, upon determination, at step 924, that all quota cells of the set have been evaluated, the list of matching quota cells may be returned at step 928. This list of matching quota cells may be the set of quota cells identified for the panelist.

As previously mentioned, once the set of quota cells are identified for the panelists, an additional step may be carried out to determine whether all quota groups for a project are represented in the set. If not, then all quota cells associated with that project may be eliminated from the set, leaving in the set only quota cells associated with projects having all of their quota groups represented in the set. One of the remaining quota cells may then be selected, and a match may be made of the panelist to the project associated with the selected quota cell.

Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations may be made herein without departing from the spirit and scope of the invention as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present invention, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present invention. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps. 

What is claimed is:
 1. A method of matching a first entity to a second entity by evaluating Boolean expressions, the method comprising: identifying one or more fact vertices for the second entity; generating a first set of criteria vertices by traversing a graph database constrained to the fact vertices identified for the second entity, wherein the graph database relates fact vertices to criteria vertices by edges corresponding to a Boolean expression for matching the first entity to the second entity; and for a first criteria vertex in the first set of criteria vertices: determining whether the first criteria vertex matches a first fact vertex among the fact vertices identified for the second entity, in response to determining the first criteria vertex matches the first fact vertex, assembling a second set of criteria vertices by adding the first criteria vertex to the second set of criteria vertices, or in response to determining the first criteria vertex does not match a fact vertex among the fact vertices identified for the second entity, retaining the second set of criteria vertices, determining whether the second set of criteria vertices completes the Boolean expression, and in response to determining the second set of criteria vertices completes the Boolean expression, completing the assembly of the second set of criteria vertices, or in response to determining the second set of criteria vertices does not complete the Boolean expression, processing a second criteria vertex in the first set of criteria vertices, wherein completion of an include criteria of the Boolean expression is determined separately from completion of an exclude criteria of the Boolean expression.
 2. The method of claim 1, wherein the first entity corresponds to a market research project, the second entity corresponds to a panelist, the fact vertices correspond to profile parameter vertices representing profile parameter values identified for the panelist, and the criteria vertices represent quota cells of market research projects.
 3. The method of claim 2, wherein identifying a set of quota cells includes traversing edges of the graph database from a panelist vertex to all profile parameter value vertices of the graph database representing profile parameter values that have been identified for a panelist represented by the panelist vertex.
 4. The method of claim 3, wherein identifying the set of quota cells further includes traversing the graph database to identify a set of quota cell vertices each having at least one includes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist, and that do not have at least one excludes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist.
 5. The method of claim 4, wherein identifying the set of quota cells further comprises determining an incomplete match to a quota cell in response to an edge of the quota cell vertex for the quota cell encountering a profile parameter value vertex representing a value of a profile parameter that is not determined for the panelist.
 6. The method of claim 5, further comprising eliminating all quota cells from the set that belong only to projects having at least one quota group not matched to at least one of the identified quota cells.
 7. The method of claim 5, further comprising: determining whether matches are complete for each quota cell of the set associated with the project and, if not, obtaining additional information from the panelist with respect to each of the incompletely matched quota cells and determining whether a fit exists based on the additional information; and responding to a determination that a fit does not exist by eliminating all quota cells from the set that are associated with the incompletely matched project, and selecting another one of the quota cells of the set.
 8. The method of claim 2, wherein selecting one of the quota cells further comprises selecting one of the quota cells from the set at random.
 9. The method of claim 8, wherein selecting one of the quota cells at random further comprises weighting random selection of the quota cells according to priorities assigned to the quota cells.
 10. The method of claim 9, wherein the priorities are calculated as a function of percentage of progress of the project, elapsed effective field time for completion of the project, and scarcity of the quota cell criteria.
 11. The method of claim 9, wherein weighting random selection of the quota cells according to priorities assigned to the quota cells includes: associating the quota cells with segments of a segmented bell curve based on the priorities; randomly selecting a segment of the bell curve, wherein a segment associated with quota cells of higher priority than those of another segment has a greater chance of being selected than the other segment; and randomly selecting a quota cell of the selected segment of the bell curve.
 12. An apparatus for matching a first entity to a second entity by evaluating Boolean expressions, the apparatus comprising: means for identifying one or more fact vertices for the second entity; means for generating a first set of criteria vertices by traversing a graph database constrained to the fact vertices identified for the second entity, wherein the graph database relates fact vertices to criteria vertices by edges corresponding to a Boolean expression for matching the first entity to the second entity; and for a first criteria vertex in the first set of criteria vertices: means for determining whether the first criteria vertex matches a first fact vertex among the fact vertices identified for the second entity, in response to determining the first criteria vertex matches the first fact vertex, means for assembling a second set of criteria vertices by adding the first criteria vertex to the second set of criteria vertices, or in response to determining the first criteria vertex does not match a fact vertex among the fact vertices identified for the second entity, means for retaining the second set of criteria vertices, means for determining whether the second set of criteria vertices completes the Boolean expression, and in response to determining the second set of criteria vertices completes the Boolean expression, means for completing the assembly of the second set of criteria vertices, or in response to determining the second set of criteria vertices does not complete the Boolean expression, means for processing a second criteria vertex in the first set of criteria vertices, wherein completion of an include criteria of the Boolean expression is determined separately from completion of an exclude criteria of the Boolean expression.
 13. The apparatus of claim 12, wherein the first entity corresponds to a market research project, the second entity corresponds to a panelist, the fact vertices correspond to profile parameter vertices representing profile parameter values identified for the panelist, and the criteria vertices represent quota cells of market research projects.
 14. The apparatus of claim 13, wherein a means for identifying a set of quota cells includes means for traversing edges of the graph database from a panelist vertex to all profile parameter value vertices of the graph database representing profile parameter values that have been identified for a panelist represented by the panelist vertex.
 15. The apparatus of claim 14, wherein the means for identifying the set of quota cells further includes means for traversing the graph database to identify a set of the quota cell vertices each having at least one includes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist, and that do not have at least one excludes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist.
 16. The apparatus of claim 15, wherein the means for identifying the set of quota cells further comprises means for determining an incomplete match to a quota cell in response to an edge of a quota cell vertex for the quota cell encountering a profile parameter value vertex representing a value of a profile parameter that is not determined for the panelist.
 17. The apparatus of claim 16, further comprising means for eliminating all quota cells from the set that belong only to projects having at least one quota group not matched to at least one of the identified quota cells.
 18. The apparatus of claim 16, further comprising: means for determining whether matches are complete for each quota cell of the set associated with the project and, if not, obtaining additional information from the panelist with respect to each of the incompletely matched quota cells and determining whether a fit exists based on the additional information; and means for responding to a determination that a fit does not exist by eliminating all quota cells from the set that are associated with the incompletely matched project, and selecting another one of the quota cells of the set.
 19. The apparatus of claim 13, wherein a means for selecting one of the quota cells comprises means for selecting one of the quota cells from the set at random.
 20. The apparatus of claim 19, wherein the means for selecting one of the quota cells from the set at random further comprises means for weighting random selection of the quota cells according to priorities assigned to the quota cells.
 21. The apparatus of claim 20, further comprising means for assigning the priorities based on percentage of progress of the project, elapsed effective field time for completion of the project, and scarcity of the quota cell criteria.
 22. The apparatus of claim 20, wherein the means for weighting random selection of the quota cells according to priorities assigned to the quota cells includes: means for associating the quota cells with segments of a segmented bell curve based on the priorities; means for randomly selecting a segment of the bell curve, wherein a segment associated with quota cells of higher priority than those of another segment has a greater chance of being selected than the other segment; and means for randomly selecting a quota cell of the selected segment of the bell curve.
 23. A computer program product, comprising: a non-transitory computer-readable medium, comprising: code for identifying one or more fact vertices for the second entity; code for generating a first set of criteria vertices by traversing a graph database constrained to the fact vertices identified for the second entity, wherein the graph database relates fact vertices to criteria vertices by edges corresponding to a Boolean expression for matching the first entity to the second entity; and for a first criteria vertex in the first set of criteria vertices: code for determining whether the first criteria vertex matches a first fact vertex among the fact vertices identified for the second entity, in response to determining the first criteria vertex matches the first fact vertex, code for assembling a second set of criteria vertices by adding the first criteria vertex to the second set of criteria vertices, or in response to determining the first criteria vertex does not match a fact vertex among the fact vertices identified for the second entity, code for retaining the second set of criteria vertices, code for determining whether the second set of criteria vertices completes the Boolean expression, and in response to determining the second set of criteria vertices completes the Boolean expression, code for completing the assembly of the second set of criteria vertices, or in response to determining the second set of criteria vertices does not complete the Boolean expression, code for processing a second criteria vertex in the first set of criteria vertices, wherein completion of an include criteria of the Boolean expression is determined separately from completion of an exclude criteria of the Boolean expression.
 24. The computer program product of claim 23, wherein the first entity corresponds to a market research project, the second entity corresponds to a panelist, the fact vertices correspond to profile parameter vertices representing profile parameter values identified for the panelist, and the criteria vertices represent quota cells of market research projects.
 25. The computer program product of claim 24, wherein a code for identifying a set of quota cells includes code for traversing edges of the graph database from a panelist vertex to all profile parameter value vertices of the graph database representing profile parameter values that have been identified for a panelist represented by the panelist vertex.
 26. The computer program product of claim 25, wherein the code for identifying the set of quota cells further includes code for traversing the graph database to identify a set of the quota cell vertices each having at least one includes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist, and that do not have at least one excludes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist.
 27. The computer program product of claim 26, wherein the code for identifying the set of quota cells further comprises code for determining an incomplete match to a quota cell in response to an edge of a quota cell vertex for the quota cell encountering a profile parameter value vertex representing a value of a profile parameter that is not determined for the panelist.
 28. The computer program product of claim 27, wherein the non-transitory computer-readable medium further comprises code for eliminating all quota cells from the set that belong only to projects having at least one quota group not matched to at least one of the identified quota cells.
 29. The computer program product of claim 27, wherein the non-transitory computer-readable medium further comprises: code for determining whether matches are complete for each quota cell of the set associated with the project and, if not, obtaining additional information from the panelist with respect to each of the incompletely matched quota cells and determining whether a fit exists based on the additional information; and code for responding to a determination that a fit does not exist by eliminating all quota cells from the set that are associated with the incompletely matched project, and selecting another one of the quota cells of the set.
 30. The computer program product of claim 24, wherein a code for selecting one of the quota cells comprises code for selecting one of the quota cells from the set at random.
 31. The computer program product of claim 30, wherein the code for selecting one of the quota cells from the set at random further comprises code for weighting random selection of the quota cells according to priorities assigned to the quota cells.
 32. The computer program product of claim 31, wherein the non-transitory computer-readable medium further comprises code for assigning the priorities based on percentage of progress of the project, elapsed effective field time for completion of the project, and scarcity of the quota cell criteria.
 33. The computer program product of claim 31, wherein the code for weighting random selection of the quota cells according to priorities assigned to the quota cells includes: code for associating the quota cells with segments of a segmented bell curve based on the priorities; code for randomly selecting a segment of the bell curve, wherein a segment associated with quota cells of higher priority than those of another segment has a greater chance of being selected than the other segment; and code for randomly selecting a quota cell of the selected segment of the bell curve.
 34. An apparatus for matching a first entity to a second entity by evaluating Boolean expressions, the apparatus comprising: a memory that stores a graph database relating fact vertices to criteria vertices by edges corresponding to a Boolean expression for matching the first entity to the second entity; and a processor configured to: identify one or more fact vertices for the second entity; generate a first set of criteria vertices by traversing a graph database constrained to the fact vertices identified for the second entity; and for a first criteria vertex in the first set of criteria vertices: determine whether the first criteria vertex matches a first fact vertex among the fact vertices identified for the second entity, in response to determining the first criteria vertex matches the first fact vertex, assemble a second set of criteria vertices by adding the first criteria vertex to the second set of criteria vertices, or in response to determining the first criteria vertex does not match a fact vertex among the fact vertices identified for the second entity, retain the second set of criteria vertices, determine whether the second set of criteria vertices completes the Boolean expression, and in response to determining the second set of criteria vertices completes the Boolean expression, complete the assembly of the second set of criteria vertices, or in response to determining the second set of criteria vertices does not complete the Boolean expression, process a second criteria vertex in the first set of criteria vertices, wherein completion of an include criteria of the Boolean expression is determined separately from completion of an exclude criteria of the Boolean expression.
 35. The apparatus of claim 34, wherein the first entity corresponds to a market research project, the second entity corresponds to a panelist, the fact vertices correspond to profile parameter vertices representing profile parameter values identified for the panelist, and the criteria vertices represent quota cells of market research projects.
 36. The apparatus of claim 35, wherein said processor is configured to identify a set of quota cells by traversing edges of the graph database from a panelist vertex to all profile parameter value vertices of the graph database representing profile parameter values that have been identified for a panelist represented by the panelist vertex.
 37. The apparatus of claim 36, wherein said processor is configured to identify the set of quota cells by traversing the graph database to identify a set of quota cell vertices each having at least one includes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist, and that do not have at least one excludes type of edge that encounters at least one of the profile parameter value vertices identified for the panelist.
 38. The apparatus of claim 37, wherein said processor is configured to identifying the set of quota cells by determining an incomplete match to a quota cell in response to an edge of the quota cell vertex for the quota cell encountering a profile parameter value vertex representing a value of a profile parameter that is not determined for the panelist.
 39. The apparatus of claim 38, wherein said processor is configured to eliminate all quota cells from the set that belong only to projects having at least one quota group not matched to at least one of the identified quota cells.
 40. The apparatus of claim 38, wherein said processor is configured to: determine whether matches are complete for each quota cell of the set associated with the project and, if not, obtain additional information from the panelist with respect to each of the incompletely matched quota cells and determine whether a fit exists based on the additional information; and respond to a determination that a fit does not exist by eliminating all quota cells from the set that are associated with the incompletely matched project, and selecting another one of the quota cells of the set.
 41. The apparatus of claim 35, wherein said processor is configured to select one of the quota cells by selecting one of the quota cells from the set at random.
 42. The apparatus of claim 41, wherein said processor is configured to select one of the quota cells at random by weighting random selection of the quota cells according to priorities assigned to the quota cells.
 43. The apparatus of claim 42, wherein said processor is configured to calculate the priorities as a function of percentage of progress of the project, elapsed effective field time for completion of the project, and scarcity of the quota cell criteria.
 44. The apparatus of claim 42, wherein said processor is configured to weighting random selection of the quota cells according to priorities assigned to the quota cells by: associating the quota cells with segments of a segmented bell curve based on the priorities; randomly selecting a segment of the bell curve, wherein a segment associated with quota cells of higher priority than those of another segment has a greater chance of being selected than the other segment; and randomly selecting a quota cell of the selected segment of the bell curve.
 45. The apparatus of claim 38, wherein said processor is configured to weighting random selection of the quota cells according to priorities assigned to the quota cells by: associating the quota cells with segments of a segmented bell curve based on the priorities; randomly selecting a segment of the bell curve, wherein a segment associated with quota cells of higher priority than those of another segment has a greater chance of being selected than the other segment; and randomly selecting a quota cell of the selected segment of the bell curve. 